#include <vector>
#include <iostream>
#include <string>

using namespace std;


class human
{
    protected:
        string _name;
    public:
        human() 
        {
        };
        ~human()
        {
            cout << "parent" << endl;
        };
        string getName() {return _name;};
        void setName(string aName) {_name = aName;};
};


class man : public human
{
    public:
        man() : human() {};
        ~man()
        {
            cout << "child" << endl;
        };
};


int main()
{

    human human1;
    man man1;

    return 1;
}
